#ifndef SOUND_H_
#define SOUND_H_

#include <glibmm.h>

namespace gpyp {
class Application;
namespace sound {

typedef sigc::slot<void, const Glib::ustring &> SlotError;
typedef sigc::slot<void> SlotComplete;

uint play(const Glib::ustring &play_file,
          double               volume,
          SlotError            error_cb = SlotError(),
          SlotComplete         complete_cb = SlotComplete());
void stop(uint id);
void stop_all();

void init(Application &app);
void uninit();

}/*sound*/
}/*gpyp*/

#endif /*SOUND_H_*/
